enum Gender{male, female};
enum Culoare{alb,negru,maro,gri,verde};
enum Specie{caine,pisica,soarece,rata,papagal,crocodil,sarpe,ornitorinc};
class Animal {
protected:
int varsta;
int limitaVarsta;
Specie specie;
Gender sex;
public:
void setVarsta(int x);
int getVarsta();
void addVarsta(int a);
void setLimitaVarsta(int n);
int getLimitaVarsta();
Gender getSex();
Specie getSpecie();
void setSex(Gender s);
bool isMale();
bool isFemale();
virtual void print()=0;
virtual Animal* giveBirth()=0;
virtual bool isGestant()=0;
virtual void distruge()=0;
};

